package com.whu.controller;

public class Code {
    public final static Integer CODE_ADD_SUCCESS = 1001;
    public final static Integer CODE_ADD_ERROR = 1000;
    public final static Integer CODE_DELETE_SUCCESS = 1011;
    public final static Integer CODE_DELETE_ERROR = 1010;
    public final static Integer CODE_UPDATE_SUCCESS = 1021;
    public final static Integer CODE_UPDATE_ERROR = 1020;
    public final static Integer CODE_GETBYID_SUCCESS = 1031;
    public final static Integer CODE_GETBYID_ERROR = 1030;
    public final static Integer CODE_GETBYNAME_SUCCESS = 1041;
    public final static Integer CODE_GETBYNAME_ERROR = 1040;
    public final static Integer CODE_GETALL_SUCCESS = 1051;
    public final static Integer CODE_GETALL_ERROR = 1050;

}
